package week03.starbucks_ex;

public class LatteDecorator extends Decorator3 {
    private double price=33;

    public LatteDecorator(IDrink iDrink) {
        super(iDrink);
    }
    public void setCoffee() {
        System.out.println("拿铁"+price);
    }
    public double getPrice() {
        super.getPrice();
        setCoffee();
        return price;
    }
}

